﻿@{
    ViewBag.Title = "我的资金记录";
    Layout = "~/Views/Designer/_Layout.cshtml";
}
@section head{
    <script src="/js/ueditor/editor_config.js"></script>
    <script src="/js/ueditor/editor_all_min.js"></script>
    <script type="text/javascript">
        jQuery(function () {
            //初始化百度编辑器
            var editor = new UE.ui.Editor({
                initialFrameWidth: '400',
                initialFrameHeight: '150',
                imageUrl: "/UPload/BaiDuUploadImage"
            });
            editor.render("Content");
        });
        //function mymodify_paypal() {
        //    jQuery("#form1").submit();
        //    //document.location.href = '/Designer/Payment_Edit?brank=' + jQuery("#Content").val();
        //}
    </script>
}
<div class="content">
    <div class="tab tab-horizontal clearfix">
        <ul>
            <li>
                <a href="@Url.Action("Commission")">我的资金记录</a>
            </li>
            <li>
                <a href="@Url.Action("Payment")" class="active">我要提现</a>
            </li>
        </ul>
    </div>
    <div class="money_setting">
        <div class="pay_info">
            <h3>我们支持以下支付方式</h3>
            <p class="font14">
                您当前可提现的金额为： <span class="red">@(ViewBag.sum)元</span><br>
                请输入您的收款信息，我们将在3个工作日内为您付款。<br>
                注：每次申请提现将扣取5元手续费， 我们支持以下两种付款方式<br>
            </p>
        </div>
        <div style="position: relative;" class="my_money">
            <form  action="@Url.Action("Payment_Edit", "Designer")" method="POST">
                <h3>请填写你的收款信息</h3>
                <p>

                    <textarea name="Bank" id="Content">
                    <p>支付宝账号：</p>
                    <p>支付宝姓名：</p>
                    <p>========== OR ==========</p>
                    <p>账&#12288;户：</p>
                    <p>开户行：</p>
                    <p>账&#12288;号：</p>
                </textarea>

                    @*<textarea id="Brank" lang="支付宝帐号：
支付宝姓名：
========== OR ==========
帐&#12288;户：
开户行：
帐&#12288;号："
                        onblur="if(jQuery(this).val() == '') jQuery(this).val(this.lang);" rows="10" cols="60" id="paypal">

</textarea><br>*@
                </p>
                <table>
                    <tbody>
                        <tr>
                            <td>
                                <input type="submit" value="提现" class="btn btn-primary btn-large mt1" />
                            </td>
                            <td>
                                <div class="msg" id="msg"></div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </form>
            <p></p>
            <!-- 支付信息填写模板 -->
            <div style="position: absolute; top: 33px; left: 450px; width: 230px;" class="alert alert-success">
                <h3 style="color: #468847; font-size: 16px; font-weight: normal; padding: 5px 0 0 0;">填写参考样例：</h3>
                <p>支付宝账号：12345678@qq.com</p>
                <p>支付宝姓名：张三 </p>
                <p>========== OR ==========</p>
                <p>账&#12288;户：张三</p>
                <p>开户行：招商银行上海市静安区长寿路支行</p>
                <p>账&#12288;号：1234 1234 1234 1234</p>
            </div>

        </div>
    </div>
</div>
<script type="text/javascript" language="javascript">
    var massage = "@TempData["Message"]";
    if (massage != null && massage != "") {
        var da = art.dialog({
            lock: true,
            time: 3,
            content: massage,
            icon: 'face-smile',
            ok: function () {
                da.close();
            }
        });
    }
</script>
